package com.bj58.ecdata.dashboard.databll;

import com.bj58.ecdata.calc.dbservice.service.BusslineEnum;
import com.bj58.ecdata.calc.dbservice.service.PlatformEnum;
import com.bj58.ecdata.calc.dbservice.service.TrackService_TMP;
import com.bj58.ecdata.dashboard.service.SCFClient;

@Deprecated
public class TrackServiceBLL_TMP {
	private static TrackService_TMP trackService = SCFClient.getRemoteService(TrackService_TMP.class);

	public static String ping() {
		return trackService.ping();
	}

	public static String getDailySum() {
		return trackService.getDailySum();
	}

	public static String getDailySum(PlatformEnum platform, BusslineEnum bussline, String tag) {
		return trackService.getDailySum(platform, bussline, tag);
	}

	/**
	 * @param time
	 *            0 返回最近一小时数据
	 */
	public static String getData(String type, PlatformEnum platform, BusslineEnum bussline, String tag, long time) {
		return trackService.getData(type, platform, bussline, tag, time);
	}

	public static String getDataTodayHourly(String type, PlatformEnum platform, BusslineEnum bussline, String tag) {
		return trackService.getDataTodayHourly(type, platform, bussline, tag);
	}

	public static String getDataYesterdayHourly(String type, PlatformEnum platform, BusslineEnum bussline, String tag) {
		return trackService.getDataYesterdayHourly(type, platform, bussline, tag);
	}

//	public static String getDataTodayMinute(String type, String tag, long time) {
//		return trackService.getDataTodayMinute(type, tag, time);
//	}
//
//	public static String getYesTodayMinute(String type, String tag) {
//		return trackService.getYesTodayMinute(type, tag);
//	}
}
